﻿@model PessModel.Archive

<fieldset>
    <div class="m-sd-xx m-sd-title">
        <div class="title">
            申报表（@Html.DisplayFor(model => model.ProjectTitle)）
        </div>
        <div class="sidebd displayCoordinate">
            <span class="displayDesc">
                活动： @Html.DisplayFor(model => model.Subject.Activity.Name)
            </span>
            <span class="displayDesc">
                @*档案编号*@
                @Html.LabelFor(model=>model.SerialNumber)： @Html.DisplayFor(model => model.SerialNumber)
            </span>
            <span class="displayDesc">
                历史档案编号： @Html.DisplayFor(model => model.PreviousSN)
            </span>
            <span class="displayDesc">
                <span class="eWidth">学科</span>组： @Html.DisplayFor(model => model.Subject.Name)&#8195;
            </span>
            @if (!(bool)ViewData["HideArchiveDetails"])
            {
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "SchoolName")
                    || Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "SchoolAddress"))
                {
                <span class="displayDesc">
                        @*申报学校*@
                        @Html.LabelFor(model => model.SchoolName)： @Html.DisplayFor(model => model.SchoolName);
                        @*地址*@
                        @Html.LabelFor(model => model.SchoolAddress)：（@Html.DisplayFor(model => model.SchoolAddress)）
                </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "DrivingDirections"))
                {
                    <span class="displayDesc">
                        @*交通路线*@
                        @Html.LabelFor(model => model.DrivingDirections )：@Html.DisplayFor(model => model.DrivingDirections)
                    </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "TeacherName"))
                {
                    <span class="displayDesc">
                    @*教师姓名*@
                    @Html.LabelFor(model => model.TeacherName)：@Html.DisplayFor(model => model.TeacherName)
                    </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "PhoneNumber"))
                {
                <span class="displayDesc">
                    @*电话*@
                    @Html.LabelFor(model => model.PhoneNumber)： @Html.DisplayFor(model => model.PhoneNumber)
                </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "EducationDegree"))
                {
                <span class="displayDesc">
                    @*学历*@
                    @Html.LabelFor(model => model.EducationDegree)： @Html.DisplayFor(model => model.EducationDegree)
                </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "GradeLevel"))
                {
                <span class="displayDesc">
                    @*年级*@
                    @Html.LabelFor(model => model.GradeLevel)： @Html.DisplayFor(model => model.GradeLevel) 年级
                </span>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "SchoolComment"))
                {
                <div>
                    @*学校评语*@
                    @Html.LabelFor(model => model.SchoolComment)： @Html.Raw(Model.SchoolComment)
                </div>
                }
                if (Html.CheckVisibility((IEnumerable<PessModel.ArchiveDisplayName>)ViewBag.ArchiveDisplayNames, "CountyEBComment"))
                {
                <div>
                    @*区县评语*@
                    @Html.LabelFor(model => model.CountyEBComment)： @Html.Raw(Model.CountyEBComment)
                </div>
                }
            }
            @*<div>
                @**@@*This is a temprary measure for displaying Video. Replace this with an additional multiline property*@@*@
                @Html.LabelFor(model => model.SchoolComment)： @Html.Raw(Model.SchoolComment)
            </div>*@
    </div>
</fieldset>
